package treeview.unit;

import document.Context;

import java.awt.*;

/**
 * Created by Pavel Nikolaev
 */
public final class IndentView extends ContextDependentView {

    public IndentView(Context context) {
        super(context);
    }

    public void paint(Graphics g) {
        // paint nothing
    }

    public void fitIntoWidth(Graphics g, int widthToFitInto) {
        myWidth = myContext.getListIndentWidth();
        myHeight = 0;
    }
}
